package com.jacarrichan.demo.dipper.dao.service.impl;

import com.jacarrichan.demo.dipper.dao.service.IDaoService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.pactera.dipper.dao.service.DipperDaoService;
import com.pactera.dipper.po.BasePo;


public class DaoServiceImpl extends DipperDaoService implements IDaoService {

    static final Logger logger = LoggerFactory.getLogger(DaoServiceImpl.class);


    public DaoServiceImpl() {
    }


    @Override
    public <T extends BasePo> T selectForUpdate(T po) {
        return getSqlSession().selectOne(po.getClass().getName() + ".selectForUpdate", po);
    }
}
